package com.example.mbl.service;

import com.example.mbl.dto.TeacherDto;
import com.example.mbl.entity.PostDoctor;
import com.example.mbl.entity.Teacher;
import com.example.mbl.result.PageResult;
import com.example.mbl.result.WebRestResult;
import com.example.mbl.result.business.PostDoctorPageResult;
import com.example.mbl.result.business.TeacherPageResult;
import com.example.mbl.result.business.TeacherResult;

public interface TeacherService {
    WebRestResult addTeacher(Teacher teacher);
    WebRestResult deleteTeacher(Teacher teacher);
    WebRestResult updateTeacher(Teacher teacher);
    WebRestResult setTeacherVisible(Teacher teacher);
    PageResult<TeacherPageResult> getTeacherList(int page,int pagesize);
    TeacherResult getTeacherItem(String teacherid);
    WebRestResult addTeacherEducation(TeacherDto teacherDto);
    WebRestResult addTeacherAward(TeacherDto teacherDto);
    WebRestResult addTeacherArticle(TeacherDto teacherDto);
    WebRestResult deleteTeacherEducation(TeacherDto teacherDto);
    WebRestResult deleteTeacherAward(TeacherDto teacherDto);
    WebRestResult deleteTeacherArticle(TeacherDto teacherDto);
    WebRestResult addPostDoctor(PostDoctor postDoctor);
    WebRestResult deletePostDoctor(PostDoctor postDoctor);
    WebRestResult updatePostDoctor(PostDoctor postDoctor);
    PageResult<PostDoctorPageResult> getPostDoctorList(int page,int pagesize);
}
